<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>本期时间</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<%@ include file="/html/custom/header.jsp"%>

		<link type="text/css" href="<%=basePath%>/html/css/gm/user.css"
			rel="stylesheet" />
		<style>
		.td-op{width: 280px;}
		</style>	
	</head>
	<body>
		
		<!-- 导航 -->
		<s:action name="showTopNav" executeResult="true" namespace="/user"></s:action> 
		<!-- /导航 -->  

		<div id="content">
			<!-- 单条删除辅助html -->
			<%@ include file="/html/custom/formDel.jsp"%>
			<!-- toolbar -->
			<div class="toolbar">
				<!-- 分页页面片 -->
			
				<%@ include file="/html/custom/pagination.jsp"%>
			</div>
			<!-- 数据表通用格式 -->
			<div class="datagird">

				<table class="ui-widget ui-widget-content">
					<thead>
						<tr class="ui-widget-header ">
							<th>
								起始日期	
							</th>
							<th>
								终止日期
							</th>
							<th>
								编号规则
							</th>
							<th>
								编号示例
							</th>
						</tr>
					</thead>
					<tbody>
						<s:iterator value="#request.pagination.result">
							<tr>
								<td>
									<s:date name="startTime" format="yyyy-MM-dd" />
								</td>
								<td>
									<s:date name="endTime" format="yyyy-MM-dd" />
								</td>
								<td>
									前
									<font color=blue><s:property value="yearNo.trim().length()" /></font>
									位为
									<font color=blue><s:property value="yearNo" /></font>
									，流水号从第
									<font color=blue><s:property value="startNo" /></font>
									位开始占
									<font color=blue><s:property value="serialBit" /></font>
									位
								</td>
								<td><font color=red>
								<s:property value="yearNo.trim()" />
								<s:if test="startNo==4">000</s:if>
								<s:if test="startNo==5">0000</s:if>
								<s:if test="startNo==6">00000</s:if>
								<s:property value="sno" />
								</font>
								</td>
								
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</div>
			<div class="toolbar">
				<%@ include file="/html/custom/pagination.jsp"%>
			</div>
		</div>
		<div id="loading"></div>
		<div id="mask"></div>
		<div id="msg"></div>
	</body>
</html>
